<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE hibernate-mapping PUBLIC
    "-//Hibernate/Hibernate Mapping DTD 3.0//EN" 
    "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping
>
    <class name="cn.firstsoft.modules.emp.domain.EmpBaseInfo" table="emp_base_info">
      <id name="id" type="integer">
            <column name="id" />
            <generator class="native" >
				         <param name="sequence">EMP_BASE_INFO_ID_SEQ</param>
            </generator>
        </id>
        <property name="name" type="string">
               <column name="name" length="50" />
        </property>
        <property name="no"  type="string">
             <column name="no" length="50" />
       </property>
        <property name="type" type="string">
             <column name="type" length="50" />
       </property>
        <property name="rems" type="string">
             <column name="rems" length="50" />
       </property>
        <property name="display" type="string">
            <column name="display" length="50" />
       </property>
    </class>
</hibernate-mapping>
